package com.fastCms.business.bim.manage;

import com.fastCms.business.bim.pojo.po.PollutionAddPO;
import com.fastCms.business.bim.pojo.po.PollutionPO;
import com.fastCms.business.bim.pojo.vo.CemsVO;
import com.fastCms.business.bim.pojo.vo.NameAndNumVO;
import com.fastCms.business.bim.pojo.vo.PollutionChartVO;
import com.fastCms.business.bim.pojo.vo.PollutionVO;
import com.fastCms.business.frame.pojo.PageParam;
import com.fastCms.business.frame.response.ApiResponse;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface PollutionManageService {

    ApiResponse<PageInfo<PollutionVO>> showList(PageParam<PollutionPO> pageParam);

    ApiResponse<Boolean> saveOrUpdate(PollutionAddPO pollutionAddPO);

    ApiResponse<PollutionVO> getDetail(Integer id);

    ApiResponse<Boolean> delete(Integer id);

    ApiResponse<List<NameAndNumVO>> numChart();


    ApiResponse<List<PollutionChartVO> > getChartDetail(Integer id);

    ApiResponse<List<CemsVO>> getCemsList();
}
